import axios from 'axios'
import {ElNotification} from 'element-plus'
import {getAccessToken} from "./cache";


export function setRefreshToken(refreshToken) {
    localStorage.setItem("refreshToken", refreshToken)
}

export function getRefreshToken() {
    return localStorage.getItem("refreshToken")
}

export function setTabViewData(tabViewData) {
    localStorage.setItem("tabViewData", JSON.stringify(tabViewData))
}